export interface ColumnConfig {
  field: string;
  title: string;
  width?: number;
}

export interface FormFieldConfig {
  field: string;
  label: string;
  component: 'Input' | 'InputNumber' | 'Select' | 'DatePicker';
  required?: boolean;
  options?: Array<{ label: string; value: any }>;
}

export interface PageConfig {
  tableName: string;
  columns: ColumnConfig[];
  form: {
    fields: FormFieldConfig[];
  };
} 